package com.authine.cloudpivot.ext.dto;

import com.authine.cloudpivot.ext.enums.order.OrderGoodsReturnsStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName OrderGoodsReturnsDto
 * @Description: 订单商品退货表
 * @Author cjj
 * @Date 2021/4/9
 * @Version V1.0
 **/
@Data
@Schema(description = "OrderGoodsReturnsDto")
@ApiModel("订单商品退货表")
public class OrderGoodsReturns extends SystemProperties{
    @Schema(description = "订单商品退货ID")
    private String id;
    @Schema(description = "订单商品退货IDs")
    private List<String> ids;
    @Schema(description = "客户订单ID")
    private String orderCustomerId;
    @Schema(description = "客户订单商品ID")
    private String orderCustomerGoodsId;
    @Schema(description = "供应商订单ID")
    private String orderVendorId;
    @Schema(description = "供应商订单商品ID")
    private String orderVendorGoodsId;
    @Schema(description = "客户退款金额")
    private BigDecimal customerAmount;
    @Schema(description = "供应商退款金额")
    private BigDecimal vendorAmount;
    @Schema(description = "数量")
    private BigDecimal quantity;
    @Schema(description = "退款说明")
    private String memo;
//    @Schema(description = "状态")
//    private OrderGoodsReturnsStatusEnum status;
    @Schema(description = "客户名称")
    private String customerOrganizationName;
    @Schema(description = "供应商名称")
    private String vendorOrganizationName;
    @Schema(description = "pageIndex")
    private Integer pageIndex;
    @Schema(description = "pageSize")
    private Integer pageSize;
    //extends_attr: eg:{"logs":[{"operator":null,"operatorUserId":81,"behavior":"确认到货","memo":"","time":"2020-10-16 14:28:07"}]}
}
